package ca;

public class DomainComponent {
	private double[] minValue;
	private double[] maxValue;
	
	public DomainComponent(int nDimensions) {
		minValue = new double[nDimensions];
		maxValue = new double[nDimensions];
	}
	
	public void setDimension(int dimension, double min, double max){
		this.minValue[dimension] = min;
		this.maxValue[dimension] = max;
	}
	
	public double getMin(int dimension){
		return minValue[dimension];
	}
	
	public double getMax(int dimension){
		return maxValue[dimension];
	}
}
